package com.engine4cloud.tdf.education.service.impl;

import com.engine4cloud.tdf.education.dto.result.DictSelectResultDTO;
import com.engine4cloud.tdf.education.mapper.DictSelectMapper;
import com.engine4cloud.tdf.education.service.DictSelectService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 字典
 *
 * @author wenjie
 * @date 2024-02-29 18:04:50
 */
@Service
public class DictSelectServiceImpl implements DictSelectService {

    @Resource
    private DictSelectMapper dictSelectMapper;

    @Override
    public List<DictSelectResultDTO> items(String keyword) {
        return dictSelectMapper.selectByKeywords(keyword);
    }
}